<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

?>
<header><h3 class="tabs_involved" style="width:500px !important;"><?php echo $catLabel; ?></h3></header>
<div class="tab_container">
    <div id="tab1" class="tab_content">

        <table class="tablesorter" border="0" cellspacing="0" style="width:100%;">
            <thead>
                <tr>
                    <td align="center">Org. Id</td>
                    <td align="center">Org. Name</td>
                    <td align="center">Org. Description</td>
                    <td align="center">Org. Address</td>
                    <td align="center">Org. Contact</td>
                    <td align="center">Org. Fax</td>
                    <td align="center">Branch</td>
                    <?php if($cat == "religious") { ?>
                    <td align="center">&nbsp;</td>
                    <?php } ?>
                </tr>
            </thead>
            <tbody>
		<?php
                foreach ($orgArr as $orgInfo) :
        ?>
		<tr>
                    <td align="center"><?php echo $orgInfo['orgid']; ?></td>
                    <td align="center"><?php echo $orgInfo['orgname']; ?></td>
                    <td align="center"><?php echo $orgInfo['orgdsc']; ?></td>
                    <td align="center"><?php echo $orgInfo['orgaddress']; ?></td>
                    <td align="center"><?php echo $orgInfo['orgtelno']; ?></td>
                    <td align="center"><?php echo $orgInfo['orgfaxno']; ?></td>
                    <td align="center"><?php echo $orgInfo['branchname']; ?></td>
                    <?php if($cat == "religious") { ?>
                    <td align="center"><a href="<?php echo base_url(); ?>secu/organization/addgallery/<?php echo $orgInfo['orgid']; ?>/relorg">Add Gallery</a></td>
                    <?php } ?>
                </tr>
		<?php
		        endforeach;
		?>
	    </tbody>
        </table>
    </div><!-- end of #tab1 -->
</div><!-- end of .tab_container -->
